package com.atguigu.gmall.gateway.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;


@Data
@Component
@ConfigurationProperties(prefix = "auth")
public class AuthUrlProperties {
    private List<String> denyUrls; //任何情况都拒绝浏览器访问的请求

    private List<String> loginUrls; //需要登录才能访问的请求

    private List<String> anyoneUrls; //任何情况都能直接访问的请求

    private String loginPage;


}
